﻿using System.Diagnostics;
using System.Windows;
using System.Windows.Documents;

namespace Oxage.Views
{
	public partial class AboutWindow : Window
	{
		#region Constructor
		public AboutWindow()
		{
			InitializeComponent();
		}
		#endregion

		#region Event handlers
		protected void Close_Click(object sender, RoutedEventArgs e)
		{
			Close();
		}

		protected void Hyperlink_Click(object sender, RoutedEventArgs e)
		{
			var element = sender as Hyperlink;
			if (element != null)
			{
				Process.Start(element.NavigateUri.AbsoluteUri);
			}
		}
		#endregion
	}
}
